import request from '@/config/axios'

// 查询字典（精简)列表
export const addSysmMapMark = (data) => {
  return request.post({ url: '/gis/sysmapmark/add', data, headersType: 'multipart/form-data' })
}

// 查询字典（精简)列表
export const saveysmMapMark = (data) => {
  return request.post({ url: '/gis/sysmapmark/save', data, headersType: 'multipart/form-data' })
}

export const getSysmMapMark = (data) => {
  return request.get({ url: '/gis/sysmapmark/list?eqid=' + data.eqid })
}

//删除标注
export const deleteSysmMapMark = (data) => {
  return request.post({ url: '/gis/sysmapmark/delete', data })
}

//删除标注文件
export const deleteSysmMapMarkFile = (data) => {
  return request.post({ url: '/gis/sysmapmarkfile/deleteById', data })
}
